{"version":3,"sources":["settings-window-column.js"],"names":["BX","namespace","Grid","SettingsWindowColumn","parent","node","this","label","checkbox","editButton","settings","default","defaultTitle","state","lastTitle","init","inited","prototype","querySelector","innerText","trim","err","updateState","getId","bind","getEditButton","proxy","onEditButtonClick","getStickyButton","onStickyButtonClick","isSticked","classList","contains","unstick","stick","add","remove","event","stopPropagation","isEditEnabled","disableEdit","enableEdit","setState","getState","selected","isSelected","sticked","title","getTitle","restoreState","select","unselect","setTitle","getNode","dataset","name","getLabel","getDefaultTitle","isEdited","getSettings","columns","getParam","isDefault","restore","stickedDefault","Utils","getByTag","getCheckbox","getBySelector","getByClass","get","contentEditable","disabled","adjustCaret","isContentEditable","checked","range","document","createRange","selection","window","getSelection","elementTextLength","length","textNodes","childNodes","lastTextNode","setStart","setEnd","collapse","removeAllRanges","addRange","fireEvent"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,WAQbD,GAAGE,KAAKC,qBAAuB,SAASC,EAAQC,GAE/CC,KAAKD,KAAO,KACZC,KAAKC,MAAQ,KACbD,KAAKE,SAAW,KAChBF,KAAKG,WAAa,KAClBH,KAAKI,SAAW,KAChBJ,KAAKF,OAAS,KACdE,KAAKK,QAAU,KACfL,KAAKM,aAAe,KACpBN,KAAKO,MAAQ,KACbP,KAAKQ,UAAY,KACjBR,KAAKS,KAAKX,EAAQC,IAGnBL,GAAGE,KAAKC,qBAAqBa,UAE7BhB,GAAGE,KAAKC,qBAAqBc,WAC5BF,KAAM,SAASX,EAAQC,GAEtBC,KAAKF,OAASA,EACdE,KAAKD,KAAOA,EAEZ,IACCC,KAAKQ,UAAYT,EAAKa,cAAc,SAASC,UAAUC,OACtD,MAAOC,IAETf,KAAKgB,cAEL,IAAKtB,GAAGE,KAAKC,qBAAqBa,OAAOV,KAAKiB,SAC9C,CACCvB,GAAGE,KAAKC,qBAAqBa,OAAOV,KAAKiB,SAAW,KACpDvB,GAAGwB,KAAKlB,KAAKmB,gBAAiB,QAASzB,GAAG0B,MA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